package com.ruoyi.project.system.label.domain;

import java.util.Date;
import java.util.HashMap;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

public class ExcelModel{
	
	private Long userId;
	
	@Excel(name = "图片序号")
	private Long pictureId;
	
	@Excel(name = "图片标签")
	private String pictureLabel;
	
	@Excel(name = "图片文件名")
	private String fileName;
	
	@Excel(name = "图片路径")
	private String srcPath;
	
	private String thumbnailPath;
	

	public ExcelModel(){
		
	}
	public ExcelModel(HashMap map){
		this.userId =  Long.parseLong(String.valueOf((Integer)map.get("user_id")));
		this.pictureId =  Long.parseLong(String.valueOf((Integer)map.get("picture_id")));
		this.pictureLabel = (String) map.get("picture_label");
		this.fileName = (String) map.get("file_name");
		this.srcPath = (String) map.get("src_path");
		this.thumbnailPath = (String) map.get("thumbnail_path");
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Long getPictureId() {
		return pictureId;
	}
	public void setPictureId(Long pictureId) {
		this.pictureId = pictureId;
	}
	public String getPictureLabel() {
		return pictureLabel;
	}
	public void setPictureLabel(String pictureLabel) {
		this.pictureLabel = pictureLabel;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getSrcPath() {
		return srcPath;
	}
	public void setSrcPath(String srcPath) {
		this.srcPath = srcPath;
	}
	public String getThumbnailPath() {
		return thumbnailPath;
	}
	public void setThumbnailPath(String thumbnailPath) {
		this.thumbnailPath = thumbnailPath;
	}
	@Override
	public String toString() {
		return "ExcelModel [userId=" + userId + ", pictureId=" + pictureId + ", pictureLabel=" + pictureLabel
				+ ", fileName=" + fileName + ", srcPath=" + srcPath + ", thumbnailPath=" + thumbnailPath + "]";
	}
	

}
